<?php

$val = 'wed';

for($j=1 ; $j<=5 ;$j++)
for($i=1 ; $i<=5 ;$i++)
switch ($val)
{

  //case 0: echo 'Zero ';break ;
  case 1: echo 'One ';break ;
  case 2: echo 'Two ';break;
  case 3: echo 'Three ';break;
  case 4: echo 'Four ';break;
  case 5: echo 'Five ';break;

  case 'sun': echo 'Sunday ';break;
  case 'mon': echo 'Monday ';break;
  case 'tue': echo 'Tuesday ';break;
  case 'wed': echo "Wednesday \n";break 3;
  case 'thu': echo 'Thursday ';break;
  case 'fri': echo 'Friaday ';break;

  default: echo 'No Match Found ';

}

